package com.yunhe.estatemanage.repository;
import com.yunhe.estatemanage.domain.PaymentReminderConfiguration;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description payment_reminder_configuration
 * @author misty
 * @date 2021-09-06
 */
@Repository
public interface PaymentReminderConfigurationRepository {

    /**
     * 新增
     * @author misty
     * @date 2021/09/06
     **/
    int createPaymentReminderConfiguration(PaymentReminderConfiguration paymentReminderConfiguration);

    /**
     * 新增
     * @author misty
     * @date 2021/09/06
     **/
    int createPaymentReminderConfigurationSelective(PaymentReminderConfiguration paymentReminderConfiguration);

    /**
     * 刪除
     * @author misty
     * @date 2021/09/06
     **/
    int deletePaymentReminderConfigurationByPrimaryKey(@Param("id") int id);

    /**
     * 更新
     * @author misty
     * @date 2021/09/06
     **/
    int updatePaymentReminderConfigurationByPrimaryKey(PaymentReminderConfiguration paymentReminderConfiguration);

    /**
     * 更新
     * @author misty
     * @date 2021/09/06
     **/
    int updatePaymentReminderConfigurationByPrimaryKeySelective(PaymentReminderConfiguration paymentReminderConfiguration);

    /**
     * 根据主键查询
     * @author misty
     * @date 2021/09/06
     **/
    PaymentReminderConfiguration searchPaymentReminderConfigurationByPrimaryKey(@Param("id") int id);


    List<PaymentReminderConfiguration> findPaymentReminderConfigurationByStationId(@Param("realStationId") Long realStationId);
}